<cpanel include="../../config.php">

<?

/***************************************************************************
 *                                 interchange.php
 *                            -------------------
 *   Begin                : Thursday, April 16, 2005
 *   Copyright            : (C) 2005 Point and Code
 *   Domain               : http://www.pointandcode.com/
 *   Email                : support@pointandcode.com
 *   Version              : 1.0.0
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

$html_root_path = '../../';
$page_title = "Interchange";
include $root_path.'common.php';
include $root_path.'page_header.php';


// If Interchange is not present, we want to die - not just present the user with random bits of text as X does...
$interchange = <<<EOF
<cpanelif !$CONF{'interchangever'}> $CPDATA{'FEATURE-SPAMASSASSIN'}><cpanelfeature interchange>test</cpanelfeature></cpanelif>
EOF;

if (empty($interchange)) {
	message_die('Interchange is not enabled on this server. Please contact your server administrator if you think it should be.');
}



$template->set_filenames(array(
	'body' => $root_path.$template_path.'scripts/interchange.tpl')
);

$template->assign_vars(array(
	'U_INSTALL_INTERCHANGE' => "interchange_install_done.php",
	)
);





//
// Woohoo! All done!
//
$template->pparse('body');




include $root_path.'page_tail.php';




?>